import request from '@/utils/request'

//增值服务收费#权限标识：zhcloud:zzfwf:list
export function listIncreServiceFee(data, params) {
    return request({
        url: '/storage/zzfwf/list',
        method: 'post',
        data: data,
        params:params
    })
}

//仓储服务->普通货物操作->增值服务收费->【收费项目】/【增值服务字段】/【添加增值服务费用->项目】
export function increServiceFeeItem(data) {
    return request({
        url: '/storage/category/chargeItems',
        method: 'post',
        data: data,
    })
}

//增值服务收费->费用明细#权限标识：zhcloud:zzfwf:list
export function getIncreServiceFeeDetail(data) {
    return request({
        url: '/storage/zzfwf/dtList',
        method: 'post',
        data: data,
    })
}


//仓储服务->普通货物操作->增值服务收费->增值服务字段->修改->修改#权限标识：zhcloud:category:modify
export function increServiceFeeItemModify(data) {
    return request({
        url: '/storage/zzfwf/modify',
        method: 'post',
        data: data,
    })
}

//仓储服务->普通货物操作->增值服务收费->增值服务字段->删除#权限标识：zhcloud:category:del
export function increServiceFeeItemDel(data) {
    return request({
        url: '/storage/zzfwf/del',
        method: 'post',
        data: data,
    })
}

//增值服务收费->添加增值服务费用->添加#权限标识：zhcloud:zzfwf:add
export function increServiceFeeAdd(data) {
    return request({
        url: '/storage/zzfwf/add',
        method: 'post',
        data: data,
    })
}

//仓储服务->普通货物操作->增值服务收费->添加增值服务费用->选择客户
export function selectCustomer2(data,params) {
    return request({
        url: '/storage/shop/selectCustomer2',
        method: 'post',
        data: data,
        params:params
    })
}

//仓储服务->普通货物操作->增值服务收费->添加增值服务费用->选择客户->客户
export function selectClient4(data) {
    return request({
        url: '/storage/shop/selectClient4',
        method: 'post',
        data: data,
    })
}

//增值服务收费->添加增值服务费用->选择库存
export function selectStock(data, params) {
    return request({
        url: '/storage/zzfwf/selectStock',
        method: 'post',
        data: data,
        params:params
    })
}

//增值服务收费->添加增值服务费用->选择出仓单
export function selectWarehouseOutOrder(data, params) {
    return request({
        url: '/storage/zzfwf/selectCcdList',
        method: 'post',
        data: data,
        params:params
    })
}

//仓储服务->普通货物操作->增值服务收费->增值服务字段->删除#权限标识：zhcloud:category:del
export function delChargeItems(data) {
    return request({
        url: `/storage/category/delChargeItems/${data.idd}`,
        method: 'post',
        data: data,
    })
}

//仓储服务->普通货物操作->增值服务收费->增值服务字段->添加->添加#权限标识：zhcloud:category:add
export function addChargeItems(data) {
    return request({
        url: '/storage/category/addChargeItems',
        method: 'post',
        data: data,
    })
}

//仓储服务->普通货物操作->增值服务收费->增值服务字段->修改->修改#权限标识：zhcloud:category:modify
export function modifyChargeItems(data) {
    return request({
        url: '/storage/category/modifyChargeItems',
        method: 'post',
        data: data,
    })
}








